<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title><?php echo ($title); ?></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <meta name="msapplication-TileColor" content="#0e90d2">
    <link rel="stylesheet" href="/FMS/Public/assets/css/amazeui.min.css">
    <link rel="stylesheet" href="/FMS/Public/assets/css/app.css">

    <script src="/FMS/Public/assets/js/jquery.min.js"></script>
    <script src="/FMS/Public/assets/js/amazeui.js"></script>
    <script src="/FMS/Public/assets/js/handlebars.min.js"></script>
    <script src="/FMS/Public/assets/js/amazeui.widgets.helper.js"></script>

</head>
<body>
<div class="am-container">
    <div class="am-alert fx-alert" data-am-alert>
        <p class="c-orange"><span class="am-icon-lightbulb-o"></span> 将SPIN模型当作销售指南，透过发问来了解客户心理需求的发展过程，使其了解购买产品的急迫和重要性。</p>
    </div>
    <!-- /警告框 -->

    <form class="am-form" method="post" action="/fms/insert">
        <fieldset>
            <legend>表单标题</legend>

            <div class="am-form-group am-form-icon">
                <i class="am-icon-align-justify"></i>
                <input type="text" class="am-form-field" name="name" id="name" placeholder="项目名称">
            </div>

            <div class="am-form-group am-form-icon">
                <i class="am-icon-cny"></i>
                <input type="text" class="am-form-field" name="amount" id="amount" placeholder="金额">
                <span class="diy-form-label">万元</span>
            </div>
<!--            <div class="am-input-group">-->
<!--                <span class="am-input-group-label">$</span>-->
<!--                <input type="text" class="am-form-field">-->
<!--                <span class="am-input-group-label">.00</span>-->
<!--            </div>-->


            <div class="am-form-group am-form-icon">
                <i class="am-icon-filter"></i>
                <select class="am-form-field" name="stage" id="stage">
                    <?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value=<?php echo ($vo["sname"]); ?>><?php echo ($vo["sname"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
<!--                    <option value="联络客户">联络客户</option>-->
<!--                    <option value="发现机会">发现机会</option>-->
<!--                    <option value="确认机会">确认机会</option>-->
<!--                    <option value="明确需求">明确需求</option>-->
<!--                    <option value="方案报价">方案报价</option>-->
<!--                    <option value="客户承诺">客户承诺</option>-->
<!--                    <option value="验收">验收</option>-->
                </select>
                <span class="am-form-caret"></span>
            </div>

            <div class="am-form-group am-form-icon">
                <i class="am-icon-calendar"></i>
                <input  id="endTime" class="am-form-field kbtn" name="cdate" placeholder="合同日期" />
            </div>
            <div id="datePlugin"></div>

            <button type="submit" class="am-btn am-btn-success am-btn-block">提交</button>
        </fieldset>
    </form>
</div>
<!-- /.am-container -->

<script src="/assets/js/date.js"></script>
<script src="/assets/js/iscroll.js"></script>
<script type="text/javascript">
    $(function(){
        $('#endTime').date();
        $('#beginTime').date({theme:"datetime"});
    });
</script>

<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default" id="">
    <ul class="am-navbar-nav am-cf am-avg-sm-4 green">
        <li>
            <a href="/fms/myproject.html" class="">
                <span class="am-icon-building-o"></span>
                <span class="am-navbar-label">我的项目</span>
            </a>
        </li>
        <li>
            <a href="/fms/myReport.html" class="">
                <span class="am-icon-bar-chart-o"></span>
                <span class="am-navbar-label">报表</span>
            </a>
        </li>
        <li>
            <a href="/fms/history.html" class="">
                <span class="am-icon-history"></span>
                <span class="am-navbar-label">历史</span>
            </a>
        </li>
        <li>
            <a href="/fms/team.html" class="">
                <span class="am-icon-users"></span>
                <span class="am-navbar-label">团队</span>
            </a>
        </li>
        <li>
            <a href="/fms/teamReport.html" class="">
                <span class="am-icon-area-chart"></span>
                <span class="am-navbar-label">报表（团队）</span>
            </a>
        </li>
        <li>
            <a href="/fms/estimate.html" class="">
                <span class="am-icon-cloud"></span>
                <span class="am-navbar-label">预计</span>
            </a>
        </li>
        <li>
            <a href="/fms/busi.html" class="">
                <span class="am-icon-cny"></span>
                <span class="am-navbar-label">商机</span>
            </a>
        </li>
        <li>
            <a href="/fms/stageConf.html" class="">
                <span class="am-icon-cog"></span>
                <span class="am-navbar-label">配置</span>
            </a>
        </li>
        <li>
            <a href="/fms/aboutUs.html" class="">
                <span class="am-icon-tag"></span>
                <span class="am-navbar-label">关于</span>
            </a>
        </li>
        <li data-am-navbar-qrcode>
            <a>
                <span class="am-icon-qrcode"></span>
                <span class="am-navbar-label">二维码</span>
            </a>
        </li>
    </ul>
</div>
<!-- /.am-navbar -->

</body>
</html>